//
//  ViewController.h
//  viewTest
//
//  Created by seonwoo Kang on 2014. 1. 14..
//  Copyright (c) 2014년 seonwoo Kang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MapDatatoGrid.h"
#import <CoreMotion/CoreMotion.h>
#import <CoreLocation/CoreLocation.h>
#import <QuartzCore/QuartzCore.h>

double currentMaxAccelX;
double currentMaxAccelY;
double currentMaxAccelZ;
int count;

@interface ViewController : UIViewController


@property (weak, nonatomic) IBOutlet UIView *subView;
@property (weak, nonatomic) IBOutlet UIImageView *background;
@property (weak, nonatomic) IBOutlet UIView *mainView;

@property char* map;

@property MapDatatoGrid *mapDataToGrid;

@property int tempX;
@property int tempY;
@property int lastX;
@property int lastY;
@property int dirtyPointX;
@property int dirtyPointY;

@property (strong, nonatomic) CMMotionManager *motionManager;
@property (nonatomic,retain) CLLocationManager *locationManager;
@end
